project "Rasterizer"
	kind "ConsoleApp"
	language "C++"
	cppdialect "C++17"
	staticruntime "off"

	targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
	objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")

--	pchheader "hzpch.h"
--	pchsource "src/hzpch.cpp"

	files
	{
		"src/**.hpp",
		"src/**.cpp",	
	}

	defines
	{
		
	}

	includedirs
	{
		"src",
		"%{IncludeDir.opencv}",
		"%{IncludeDir.eigen3}",	
		
	}

	links
	{

	}

	
	filter "system:windows"
		systemversion "latest"

		defines 
		{ 

		}

		links
		{
			
		}

	filter "configurations:Debug"
		defines "HZ_DEBUG"
		runtime "Debug"
		symbols "on"

		links
		{
			"%{Library.opencv_debug}"
		}

	filter "configurations:Release"
		defines "HZ_RELEASE"
		runtime "Release"
		optimize "on"
		links
		{
			"%{Library.opencv_release}"
		}

	filter "configurations:Dist"
		defines "HZ_DIST"
		runtime "Release"
		optimize "on"

		links
		{
			"%{Library.opencv_release}"
		}